package com.wyk.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**自定义轮训接口
 * @author WangYuKai
 * @Date 2022/6/22
 * @apiNote
 */
public interface LoadBlancer {
    //获取活着的机器总数
    ServiceInstance instance(List<ServiceInstance> servers);

}
